import axios from 'axios'

const service = axios.create({
  baseURL: 'http://ljxg.free.idcfengye.com', // 后端接口地址
  timeout: 5000
})

// 响应拦截
service.interceptors.response.use(
  response => response.data,
  error => Promise.reject(error)
)

export default service
